package com.lzy.cloud.mq.remote;

import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description: 订单接口
 * @Author:   gyl
 * @Date:     2018/7/9 17:25
 */
@FeignClient(name = "lzy-cloud-order")
public interface OrderApi {

    /**
     * 方法说明：根据条件查询钱包信息
     * @return
     * @date        2018/7/9 17:31
     */
    @RequestMapping(value = "/order/cancel/{orderId}")
    Result cancel(@PathVariable("orderId") String orderId);
}
